package dome2;

public class Text {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);
        Integer aa = 200;
        Integer bb = 200;
        System.out.println(aa == bb);
    }
    public static void main2(String[] args) {
        Integer a = 100;
        int i = a; // 自动的拆箱
        int ii = a.intValue(); //显示的拆箱
    }
    public static void main1(String[] args) {
        int i = 10;
        Integer a = i; //自动的装箱
        Integer b = Integer.valueOf(20); // 显示的装箱
    }
}
